Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAMV71J20/TC0/TC_CHANNEL[0]/SMMR#0x0
Stepper Motor Mode Register (channel = 0)
Gray Count Enable
Down Count
https://github.com/cmsis-svd/cmsis-svd-data